package command;

public class AttackCommand implements Command {
    private Army army;

    public AttackCommand(Army army) {
        this.army = army;
    }

    @Override
    public void attack() {
        army.attack();
    }

    @Override
    public void retreat() {
        army.undo();
    }
}
